﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="VerNoticias.aspx.cs" Inherits="Site_CamaraTibau.VerNoticias" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <div style="float: left; height: auto; width:100%; margin:0px 0px 40px 10px;">

    <h2>Últimas Notícias</h2>

    <br clear="all" />

    <div style="float: left; height: auto; width:100%; margin:0px 0px 0px 0px;">
        <asp:LinkButton ID="lbkVerBusca" runat="server" CssClass="aLink1" OnClick="lbkVerBusca_Click">Clique aqui para habilitar a busca.</asp:LinkButton>
    </div>


    <div style="float: left; height: auto; width:100%; margin:10px 0px 0px 0px;" runat="server" id="div_busca" visible="false" >
        
        <div style="float: left; height: auto; width:100%; margin:0px 0px 0px 0px;">
            <div style="float: left; height: auto; margin:0px 10px 0px 0px;">
                <asp:Label ID="Label4" runat="server" AssociatedControlID="txtPesquisarTitulo" Width="100px" Text="Vereador Envolvido:" CssClass="lbl" /><br />
                <asp:DropDownList ID="ddlVereador" runat="server" CssClass="ddList"></asp:DropDownList>
            </div>
            <div style="float: left; height: auto; margin:0px 10px 0px 0px;">
                <asp:Label ID="Label2" runat="server" AssociatedControlID="ddlDia" Width="100px" Text="Dia:" CssClass="lbl" /><br />
                <asp:DropDownList ID="ddlDia" runat="server" CssClass="ddList">
                    <asp:ListItem Text="Todos" Value="0"></asp:ListItem>
                    <asp:ListItem Text="01" Value="01"></asp:ListItem>
                    <asp:ListItem Text="02" Value="02"></asp:ListItem>
                    <asp:ListItem Text="03" Value="03"></asp:ListItem>
                    <asp:ListItem Text="04" Value="04"></asp:ListItem>
                    <asp:ListItem Text="05" Value="05"></asp:ListItem>
                    <asp:ListItem Text="06" Value="06"></asp:ListItem>
                    <asp:ListItem Text="07" Value="07"></asp:ListItem>
                    <asp:ListItem Text="08" Value="08"></asp:ListItem>
                    <asp:ListItem Text="09" Value="09"></asp:ListItem>
                    <asp:ListItem Text="10" Value="10"></asp:ListItem>
                    <asp:ListItem Text="11" Value="11"></asp:ListItem>
                    <asp:ListItem Text="12" Value="12"></asp:ListItem>
                    <asp:ListItem Text="13" Value="13"></asp:ListItem>
                    <asp:ListItem Text="14" Value="14"></asp:ListItem>
                    <asp:ListItem Text="15" Value="15"></asp:ListItem>
                    <asp:ListItem Text="16" Value="16"></asp:ListItem>
                    <asp:ListItem Text="17" Value="17"></asp:ListItem>
                    <asp:ListItem Text="18" Value="18"></asp:ListItem>
                    <asp:ListItem Text="19" Value="19"></asp:ListItem>
                    <asp:ListItem Text="20" Value="20"></asp:ListItem>
                    <asp:ListItem Text="21" Value="21"></asp:ListItem>
                    <asp:ListItem Text="22" Value="22"></asp:ListItem>
                    <asp:ListItem Text="23" Value="23"></asp:ListItem>
                    <asp:ListItem Text="24" Value="24"></asp:ListItem>
                    <asp:ListItem Text="25" Value="25"></asp:ListItem>
                    <asp:ListItem Text="26" Value="26"></asp:ListItem>
                    <asp:ListItem Text="27" Value="27"></asp:ListItem>
                    <asp:ListItem Text="28" Value="28"></asp:ListItem>
                    <asp:ListItem Text="29" Value="29"></asp:ListItem>
                    <asp:ListItem Text="30" Value="30"></asp:ListItem>
                    <asp:ListItem Text="31" Value="31"></asp:ListItem>
                </asp:DropDownList>
            </div>
            
            <div style="float: left; height: auto; margin:0px 10px 0px 0px;">
                <asp:Label ID="Label5" runat="server" AssociatedControlID="ddlMes" Width="100px" Text="Mês:" CssClass="lbl" /><br />
                <asp:DropDownList ID="ddlMes" runat="server" CssClass="ddList">
                    <asp:ListItem Text="Todos" Value="0"></asp:ListItem>
                    <asp:ListItem Text="Janeiro" Value="01"></asp:ListItem>
                    <asp:ListItem Text="Fevereiro" Value="02"></asp:ListItem>
                    <asp:ListItem Text="Março" Value="03"></asp:ListItem>
                    <asp:ListItem Text="Abril" Value="04"></asp:ListItem>
                    <asp:ListItem Text="Maio" Value="05"></asp:ListItem>
                    <asp:ListItem Text="Junho" Value="06"></asp:ListItem>
                    <asp:ListItem Text="Julho" Value="07"></asp:ListItem>
                    <asp:ListItem Text="Agosto" Value="08"></asp:ListItem>
                    <asp:ListItem Text="Setembro" Value="09"></asp:ListItem>
                    <asp:ListItem Text="Outubro" Value="10"></asp:ListItem>
                    <asp:ListItem Text="Novembro" Value="11"></asp:ListItem>
                    <asp:ListItem Text="Dezembro" Value="12"></asp:ListItem>
                </asp:DropDownList>
            </div>
            
            <div style="float: left; height: auto; margin:0px 10px 0px 0px;">
                <asp:Label ID="Label6" runat="server" AssociatedControlID="ddlAno" Width="100px" Text="Ano:" CssClass="lbl" /><br />
                <asp:DropDownList ID="ddlAno" runat="server" CssClass="ddList">
                    <asp:ListItem Text="Todos" Value="0"></asp:ListItem>
                    <asp:ListItem Text="2013" Value="2013"></asp:ListItem>
                </asp:DropDownList>
            </div>
        </div>
        
        <br clear="all" />

        <div style="float: left; height: auto; width:100%; margin:5px 0px 0px 0px;">
            <div style="float: left; height: auto; margin:0px 10px 0px 0px;">
                <asp:Label ID="Label3" runat="server" AssociatedControlID="txtPesquisarTitulo" Width="100px" Text="Título:" CssClass="lbl" /><br />
                <asp:TextBox ID="txtPesquisarTitulo" runat="server" CssClass="textBox" Width="280px"></asp:TextBox>
            </div>
            <div style="float: left; height: auto; margin:0px 5px 0px 0px;">
                <asp:Label ID="Label1" runat="server" AssociatedControlID="txtPesquisarConteudo" Width="100px" Text="Conteúdo:" CssClass="lbl" /><br />
                <asp:TextBox ID="txtPesquisarConteudo" runat="server" CssClass="textBox" Width="320px"></asp:TextBox>
            </div>
             <div style="float: left; height: auto; margin:0px 10px 0px 0px;">
                <br />
                <asp:ImageButton ID="btnPesquisar" runat="server" ImageUrl="~/img/icon_search.png" ToolTip="Realizar Busca" OnClick="btnPesquisar_Click" />
            </div>
        </div>

    </div>


    
    <br clear="all" />

    <div style="float: left; height: auto; margin:10px 0px 0px 0px; width:100%;">
        <asp:Repeater ID="rptNoticias" runat="server">
            <ItemTemplate>
                <div style="float: left; height: auto; margin:0px 0px 0px 0px; width:90%; padding:15px 0px 15px 0px; border-bottom:1px dashed #BDCCD9; "> 
                    <div style="float: left; height: auto; margin:0px 0px 0px 0px;"> 
                        <asp:LinkButton ID="LinkButton1" runat="server" Text='<%# Eval("Descricao")  %>'  PostBackUrl='<%# Eval("LINK") %>'></asp:LinkButton>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
                                
    </div>

</div>
</asp:Content>
